package cn.ssm.pojo;

public class User {

	private int id;
	private String userName;
	private String userPwd;
	private String phone;
	
	private String roName;

	public User(){}
	
	
	
	public User(int id, String userName, String userPwd, String phone,
			String roName) {
		super();
		this.id = id;
		this.userName = userName;
		this.userPwd = userPwd;
		this.phone = phone;
		//this.roName = roName;
	}


	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	

	public String getPhone() {
		return phone;
	}


	public void setPhone(String phone) {
		this.phone = phone;
	}


	public String getRoName() {
		return roName;
	}

	public void setRoName(String roName) {
		this.roName = roName;
	}


	@Override
	public String toString() {
		return "User [id=" + id + ", userName=" + userName + ", userPwd="
				+ userPwd + ", phone=" + phone + ", roName=" + roName + "]";
	}
	
		
}
